![]() |
PlotCIconHandle |
||||
Header: | Icons.h | Carbon status: | Supported | |
Draws an icon of resource type 'cicn' to which you have a handle.
OSErr PlotCIconHandle ( const Rect *theRect, IconAlignmentType align, IconTransformType transform, CIconHandle theCIcon );
A pointer to the rectangle in which to draw the icon, specified in local coordinates of the current graphics port.
Specifies how the function should align the icon within the rectangle. See
Specifies how the function should modify the appearance of the icon. See
A handle to the color icon structure of the icon to draw. You can obtain a handle to the icon using the GetCIcon function or GetResource or other Resource Manager functions.
A result code.
Unlike PlotCIcon, this function doesn’t honor the current foreground and background colors.
This function may move or purge memory blocks in the application heap. For that reason, your application should not call it at interrupt time.
Supported in Carbon. Available in CarbonLib 1.0 and later when InterfaceLib 7.1 or later is installed. Exported by CarbonLib 1.0 and later and by InterfaceLib 7.1 and later.
© 2000 Apple Computer, Inc. — (Last Updated 4/18/2000)